define(["app/utils/HttpClientUtils","qiniu"],function (hc) {

	
	return {
		getPrefopStatus: function(id, callback_Func){

			var crossurl = "http://api.qiniu.com/status/get/prefop?id=" + id;
			
			var url = $.wjtBaseBackend + "/wjt/crossdomain";
			var body = {
				"url": crossurl
			};
		
			hc.sendPOST(url, JSON.stringify(body),callback_Func);
		},

		getImageInfo: function(key, callback_Func){

			var url = "http://qiniucdn.haojs.com.cn/" + key + "?imageInfo";

			$.getJSON(url, callback_Func);

			// hc.sendGET(url, callback_Func, null, true);
		}			

	};

});
